<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="styles/drugcms.css" />
	<meta http-equiv="expires" content="0">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="pragma" content="no-cache">    
    <script type="text/javascript" src="scripts/rowMark.js"></script>
    <script type="text/javascript" src="scripts/general.js"></script>
    <script type="text/javascript" src="scripts/infoBox.js"></script>
    box = new messageBox("", "", "", 0, 0);
 
    <script type="text/javascript">

        function uplSort(selObj) {

            var url = '{SELF_URL}';
            var i = selObj.selectedIndex;
            var sortkey = selObj.options[i].value;

            window.location.href = url + '&sort=' + sortkey;

        }

        function iZoom(path, defaultWidth, defaultHeight)
        {
            //var defaultWidth = 640;
            //var defaultHeight = 480;

            var xwin = parseInt((screen.availWidth / 2) - (defaultWidth / 2));
            var ywin = parseInt((screen.availHeight / 2) - (defaultHeight / 2));

            zwin = window.open("","","left="+xwin+",top="+ywin+",width=" + defaultWidth + ",height=" + defaultHeight + "\"");
            zwin.moveTo(xwin,ywin);

            zcon  = "<html>\n<head>\n<link rel=\"stylesheet\" type=\"text/css\" href=\"styles/drugcms.css\" /><title>i18n("Click to close")</title>\n</head>\n";
            zcon += "<body leftmargin=\"0\" topmargin=\"0\"><table width=\"100%\" height=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td valign=\"top\" align=\"center\" valign=\"middle\">";
            zcon += "<body self.moveTo((screen.availWidth / 2) - (defaultWidth / 2 + 5),(screen.availHeight / 2) - (defaultHeight / 2 + 20))\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n";
            zcon += "<a class=\"text_medium\" href=\"javascript:self.close()\"><img name=\"zimg\" src=\""+path+"\" border=\"0\" alt=\"i18n("Click to close")\"><br>i18n("Close")</a>\n";
            zcon += "</td></tr></table></body>\n</html>";

            zwin.document.open();
            zwin.document.write(zcon);
            zwin.document.close();
        }


    </script>

    <script language="javascript">
        parent.parent.frames["left"].frames["left_bottom"].location.reload();
    </script>


</head>
<body style="margin:10px">

<table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr valign="middle">
        <td class="text_medium">&nbsp;</td>
        <td class="text_medium" align="right" nowrap="nowrap">i18n("Sort files"):&nbsp;&nbsp;&nbsp;{UPLSORT}</td>
    </tr>
</table>


<table cellspacing="0" cellpadding="0" border="0">
    <tr>
        <td>
        {UPLOADFORM}
        </td>
    </tr>
</table>

<table width="100%" cellspacing="0" cellpadding="3" border="0" style="border:0px; border-left:1px; border-top: 1px;border-color: #747488; border-style: solid;">
    <!-- BEGIN:BLOCK -->
    {BEGINTR}
        <td align="left" valign="top" style="border: 0px; border-bottom:1px; border-color: #747488; border-style: solid">
            {PREVIEWIMAGE}
        </td>
        <td align="left" valign="top" style="border: 0px; border-bottom:1px; border-right:1px; border-color: #747488; border-style: solid">
            <table cellspacing="0" cellpadding="3" border="0">
                <tr><td align="right" class="text_medium">i18n("Filename"):</td>
                <td class="text_medium">{FILENAME}</td></tr>
                <tr><td align="right" class="text_medium">i18n("Description"):</td>
                <td class="text_medium">{FILEDESCRIPTION}</td></tr>
                <tr><td align="right" class="text_medium">i18n("File size"):</td>
                <td class="text_medium">{FILESIZE}</td></tr>
                <tr><td align="right" class="text_medium">i18n("Image size"):</td>
                <td class="text_medium" >{IMAGESIZE}</td></tr>
                <tr><td></td><td class="text_medium">{EDITBUTTON}{DELETEBUTTON}</td></tr>
            </table>
        </td>
    {ENDTR}
    <!-- END:BLOCK -->
    {ENDTD}

</table>

</body>
</html>
